package com.learning.railwayreservation.vo;

public class PassengerVO {

	private String firstName;

	private String lastName;

	private int age;

	private String sex;

	private String berthPreference;

	private boolean seniorCitizen;

	

	private SeatVO seatVo = new SeatVO();

	

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public String getBerthPreference() {
		return berthPreference;
	}

	public void setBerthPreference(String berthPreference) {
		this.berthPreference = berthPreference;
	}

	public boolean getSeniorCitizen() {
		return seniorCitizen;
	}

	public void setSeniorCitizen(boolean seniorCitizen) {
		this.seniorCitizen = seniorCitizen;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getFirstName() {
		return firstName;
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	public String getLastName() {
		return lastName;
	}

	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	public SeatVO getSeatVo() {
		return seatVo;
	}

	public void setSeatVo(SeatVO seatVo) {
		this.seatVo = seatVo;
	}

}
